﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using mitasoft.Web.DAL;
using StructureMap;

namespace MySite2.ViewModel
{
    public class BaseViewModel
    {
        protected IRepository _repository = null;

        public BaseViewModel()
        {
            _repository = ObjectFactory.GetInstance<IRepository>();
        }
    }
}